import request from '@/utils/request'

export default {
  //分页查询讲师列表
  getTeachers(currentPage,pageSize) {
    return request({
      url: `/eduservice/teacherFront/getTeachers/${currentPage}/${pageSize}`,
      method: 'get'
    })
  },
  // 查询讲师详情
  getTeacherDetail(teacherId) {
    return request({
      url: `/eduservice/teacherFront/getTeacherDetail/${teacherId}`,
      method: 'get'
    })
  }
}

